Probabilistic Approach to the Lambda Definability for Fourth Order Types

نویسنده

  • Marek Zaionc
چکیده

It has been proved by Loader [3] that Statman-Plotkin conjecture (see [7] and [5]) fails. The Loader proof was done by encoding the word problem in the full type hierarchy based on the domain with 7 elements. The aim of this paper is to show that the lambda definability problem limited to regular fourth order types is decidable in any finite domain. Obviously λ definability is decidable for 1, 2 and 3 order types. As an additional effect of the result described we may observe that for certain types there is no finite context free grammar generating all closed terms. We prove also that probability that randomly chosen fourth order type (or type of the order not grater then 4 ) admits decidable lambda definability problem is zero. 1 Syntax of simple typed lambda calculus We shall consider a simple typed lambda calculus with a single ground type O. The set T of types is defined as follows: O is a type and if τ and μ are types then τ → μ is a type. We will use the following notation: if μ, τ1, τ2, ..., τn are types then by τ1 → τ2 → ... → τn → μ we mean the type τ1 → (τ2 → ... → (τn → μ)...). Therefore, every type τ has the form τ1 → ... → τn → O. By a τ k → μ we mean the type τ... → τ → O with k occurrences of type τ (with τ 0 → μ = μ). If τ has the form τ1 → ... → τn → O, then τi for i ≤ n are called components of type τ and are denoted by τ [i]. For any type τ we define rank(τ) and arg(τ) as follows: arg(O) = 0, rank(O) = 1 and arg(τ1 → ... → τn → O) = n and rank(τ1 → ... → τn → O) = maxi=1...n rank(τ [i]) + 1. We define inductively types τ [i1, ..., ik] by (τ [i1, ..., ik−1])[ik] for 1 ≤ ik ≤ arg(τ [i1, ..., ik−1]). 1 Supported by the State Committee for Scientific Research in Poland (KBN), research grant 7T11C 022 21 2 Email: [email protected] This is a preliminary version. The final version will be published in Electronic Notes in Theoretical Computer Science URL: www.elsevier.nl/locate/entcs

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Asymptotic Densities in Logic and Type Theory

This paper presents a systematic approach for obtaining results from the area of quantitative investigations in logic and type theory. We investigate the proportion between tautologies (inhabited types) of a given length n against the number of all formulas (types) of length n. We investigate an asymptotic behavior of this fraction. Furthermore, we characterize the relation between number of pr...

متن کامل

Lambda definability is decidable for regular forth order types

It has been proved by Loader [2] that Statman-Plotkin conjecture (see [5] and [4]) fails. The Loader proof was done by encoding the word problem in the full type hierarchy based on the domain with 7 elements. Later Loader refined the result by establishing that the problem is undecidable for every finite domain with 3 ground elements [3]. The remaining non trivial case with 2 ground elements ha...

متن کامل

Stock Market Fraud Detection, A Probabilistic Approach

In order to have a fair market condition, it is crucial that regulators continuously monitor the stock market for possible fraud and market manipulation. There are many types of fraudulent activities defined in this context. In our paper we will be focusing on "front running". According to Association of Certified Fraud Examiners, front running is a form of insider information and thus is very ...

متن کامل

A Characterisation of Lambda Definability with Sums Via TT-Closure Operators

We give a new characterisation of morphisms that are definable by the interpretation of the simply typed lambda calculus with sums in any bi-Cartesian closed category. The ⊤⊤-closure operator will be used to construct the category in which the collection of definable morphisms at sum types can be characterised as the coproducts of such collections at lower types.

متن کامل

On Undefined and Meaningless in Lambda Definability

We distinguish between undefined terms as used in lambda definability of partial recursive functions and meaningless terms as used in infinite lambda calculus for the infinitary terms models that generalise the Böhm model. While there are uncountable many known sets of meaningless terms, there are four known sets of undefined terms. Two of these four are sets of meaningless terms. In this paper...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 140  شماره 

صفحات  -

تاریخ انتشار 2005